package com.chf.carsystem.users.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 角色实体类
 * @author Administrator
 *
 */
public class Role implements Serializable{

	
	private int id;
	private String name;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;
	
	//关联对象 菜单集合
	List<User> users;
	List<Menu> menus;
	
	public Role() {
		super();
	}


	public Role(String name, byte status, Date createTime, Date updateTime, Date pubTime) {
		super();
		this.name = name;
		this.status = status;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.pubTime = pubTime;
	}


	
	public List<Menu> getMenus() {
		return menus;
	}


	public void setMenus(List<Menu> menus) {
		this.menus = menus;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public byte getStatus() {
		return status;
	}


	public void setStatus(byte status) {
		this.status = status;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public Date getPubTime() {
		return pubTime;
	}


	public void setPubTime(Date pubTime) {
		this.pubTime = pubTime;
	}

	
	
	
	
	
	
	
}
